package com.spdd.mt.biz.exception;

import com.spdd.mt.biz.constant.MtResponseStatus;
import lombok.Getter;
import lombok.Setter;

/**
 * 签名异常类
 */
public class SignException extends Exception {

    @Getter
    private final String code = "100001";

    @Getter
    @Setter
    private String message;


    public SignException(MtResponseStatus errorCodeEnum, String message) {
        super(message);
        this.message = errorCodeEnum.getDesc();
    }
}
